@model Promike.site.Models.Post

@* This partial view defines form fields that will appear when creating and editing entities *@

<div class="editor-label">
    @Html.LabelFor(model => model.Title)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Title)
    @Html.ValidationMessageFor(model => model.Title)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.MiniContent)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.MiniContent)
    @Html.ValidationMessageFor(model => model.MiniContent)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Author)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Author)
    @Html.ValidationMessageFor(model => model.Author)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.PublishDate)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.PublishDate)
    @Html.ValidationMessageFor(model => model.PublishDate)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Rating)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Rating)
    @Html.ValidationMessageFor(model => model.Rating)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.MainContent)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.MainContent)
    @Html.ValidationMessageFor(model => model.MainContent)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.TagID)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.TagID)
    @Html.ValidationMessageFor(model => model.TagID)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.PageContent)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.PageContent)
    @Html.ValidationMessageFor(model => model.PageContent)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Visible)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Visible)
    @Html.ValidationMessageFor(model => model.Visible)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.DownloadFileName)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.DownloadFileName)
    @Html.ValidationMessageFor(model => model.DownloadFileName)
</div>

